package Model
{
	import Model.Topic;
	
	[Bindable]
	public class User
	{
		
		protected var _UserID:Number;
		protected var _FirstName:String;
		protected var _LastName:String;
		protected var _CallName:String;
		protected var _WritingStatus:int;
		protected var _writingInTopic:Number;
		
		public function User(id:int = 0, FirstName:String="", LastName:String = "", 
							 CallName:String = "", status:int = 0, writingInTopic:Number = 0)
		{
			this._UserID = id;
			this._FirstName = FirstName;
			this._LastName = LastName;
			this._CallName = CallName;
			this._WritingStatus = status;
			this._writingInTopic = writingInTopic;
		}
		
		public function get UserID():Number
		{
			return _UserID;
		}
		
		public function get FirstName():String
		{
			return _FirstName;
		}
		
		public function get LastName():String
		{
			return _LastName;
		}
		
		public function get CallName():String
		{
			return _CallName;
		}
		
		public function get WritingStatus():int
		{
			return _WritingStatus;
		}
		
		public function set WritingStatus(status:int):void
		{
			_WritingStatus = status;
			
		}
		
		public function get writingInTopic():Number
		{
			return _writingInTopic;
		}
		

	}
}

